<html ng-app = 'test'>
<head>
<script type="text/javascript" src="./angular/angular.js"></script>
<title>Death Ray</title>

</head>
<body>

	<div ng-controller='DeathRayMenuController'>
		<button ng-click="toggleMenu()">Toggle Menu</button>
		<ul ng-show='menuState'>
			<li>Stun</li>
		</ul>
	</div>

	<script type="text/javascript">
		var test = angular.module('test', []);

		test.controller('DeathRayMenuController', function($scope) {
			$scope.menuState = false;

			$scope.toggleMenu = function() {
				$scope.menuState = !$scope.menuState;
			};
		});
	</script>

</body>
</html>